wayland: Fix handling of activation-token in org.freedesktop.Application requests
authorVlad Zahorodnii <vlad.zahorodnii@kde.org>
Thu, 20 Oct 2022 16:33:15 +0000 (19:33 +0300)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 27 Jan 2023 19:20:53 +0000 (19:20 +0000)
commit65f03121a42307de403063c580ebf88f9413fe54
treeb6ee42e044404451de1e61275860c229c1314808
parent09769193d751692b513ab2154400737674f8fd7e
wayland: Fix handling of activation-token in org.freedesktop.Application requests

At the moment, GTK applications search for "desktop-startup-id" in the
platform data on Wayland , but desktop environments such as plasma set
"activation-token" property instead as indicated in the spec:

    activation-token: This should be a string of the same value as would
    be stored in the XDG_ACTIVATION_TOKEN environment variable, as specified
    by the XDG Activation protocol for Wayland.

https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#dbus
gtk/gtkapplication-wayland.c
gtk/gtkapplication.c